<template>
  <view class="card-form ">
    <uni-card class="apply-card padB10" title="申请信息" >
      <formList 
        :isShowOne="true"
        
      ></formList>
    </uni-card>
  </view>
</template>

<script setup>
 import { getCurrentInstance, onMounted, ref } from 'vue'
 import formList from "/components/apply-sku-order/form-list.vue"
 
 onMounted(()=>{
   const instance = getCurrentInstance().proxy
   console.log('-----eve----->',instance.$scope.options);
   const listId = instance.$scope.options
   getOrderDetail(listId)
 })
 

 

 const getOrderDetail = async (id)=>{
   const { data: res } = await uni.$http.get('/getMaterialByIdApply',id)
   console.log('---data-->',res);
 }
 
 
</script>

<style lang="scss">
.card-form{
  width: 100%;
  height: 100%;
  margin-bottom: 35px;
  .apply-card {
    margin-bottom: 30px;
  }
}
</style>
